package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图对象 sys_carousel
 *
 * @author jijinwu
 * @date 2024-07-23
 */
@ApiModel(value = "轮播图")
public class SysCarousel extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** 主键id */
        @ApiModelProperty(value = "主键id", dataType = "Long")
    private Long id;

    /** 轮播图图片的 URL */
        @ApiModelProperty(value = "轮播图图片的 URL", dataType = "String")
        @Excel(name = "轮播图图片的 URL")
    private String imageUrl;

    /** 轮播图点击后的跳转链接 */
        @ApiModelProperty(value = "轮播图点击后的跳转链接", dataType = "String")
        @Excel(name = "轮播图点击后的跳转链接")
    private String linkUrl;

    /** 排序字段 */
        @ApiModelProperty(value = "排序字段", dataType = "Long")
        @Excel(name = "排序字段")
    private Long sortOrder;

    /** 状态：0-禁用，1-启用 */
        @ApiModelProperty(value = "状态：0-禁用，1-启用", dataType = "String")
        @Excel(name = "状态：0-禁用，1-启用")
    private String carouselStatus;

    public void setId(Long id)
    {
        this.id = id;
     }

    public Long getId()
    {
         return id;
    }
    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
     }

    public String getImageUrl()
    {
         return imageUrl;
    }
    public void setLinkUrl(String linkUrl)
    {
        this.linkUrl = linkUrl;
     }

    public String getLinkUrl()
    {
         return linkUrl;
    }
    public void setSortOrder(Long sortOrder)
    {
        this.sortOrder = sortOrder;
     }

    public Long getSortOrder()
    {
         return sortOrder;
    }
    public void setCarouselStatus(String carouselStatus)
    {
        this.carouselStatus = carouselStatus;
     }

    public String getCarouselStatus()
    {
         return carouselStatus;
    }

@Override
public String toString() {
    return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imageUrl", getImageUrl())
            .append("linkUrl", getLinkUrl())
            .append("sortOrder", getSortOrder())
            .append("carouselStatus", getCarouselStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
        .toString();
    }
}
